package com.vf.common.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取配置类中wechat开头的配置项
 */
@Component
@ConfigurationProperties(prefix = "wechat")
@Data
public class WeChatProperties {

    private String appId;

    private String secret;
}
